﻿namespace com.IronOne.BoardPACWinAppUtil.Util
{
    public static class RequestURL
    {
        /// <summary>
        ///     ?fmt=xml
        /// </summary>
        private const string fmt = "?fmt=xml";

        //private const string bml = "&fmt1=bml";  //Need for debug on the browser, no use in the app

        /// <summary>
        ///     /LogOn/LogOn
        /// </summary>
        public const string LogOn = "/LogOn/LogOn" + fmt;

        /// <summary>
        ///     /LogOn/AuthorizeDevice
        /// </summary>
        public const string AuthorizeDevice = "/LogOn/AuthorizeDevice" + fmt;

        /// <summary>
        ///     /Admin/GetDeviceStatus
        /// </summary>
        public const string DeviceStatusCheck = "/Admin/GetDeviceStatus" + fmt;

        /// <summary>
        ///     /LogOn/InitDeviceXml
        /// </summary>
        public const string Init = "/LogOn/InitDeviceXml" + fmt;

        /// <summary>
        ///     /Default/ServerUp
        /// </summary>
        public const string ServerUp = "/Default/ServerUp" + fmt;

        /// <summary>
        ///     /DownloadService/DownloadService
        /// </summary>
        public const string DataDownload = "/DownloadService/DownloadService" + fmt;

        /// <summary>
        ///     /DownloadService/DownloadAnnotationData
        /// </summary>
        public const string DownloadAnnotationData = "/DownloadService/DownloadAnnotationData" + fmt;

        /// <summary>
        ///     /DownloadService/DownloadAnnotationData
        /// </summary>
        public const string PastpaerSearch = "/Paper/PastPaperSearch" + fmt;

        /// <summary>
        ///     /Auth/ChangePassword
        /// </summary>
        public const string ChangePassword = "/LogOn/ChangePassword" + fmt;

        /// <summary>
        ///     /LogOn/LogOff
        /// </summary>
        public const string Logout = "/LogOn/LogOff" + fmt;

        /// <summary>
        ///     /Paper/ViewPDF
        /// </summary>
        public const string DocumentDownload = "/Paper/ViewPDF" + fmt;

        /// <summary>
        ///     /Paper/ViewPDF?fmt=xml&meetingId={0}&documentType={1}&paperId={2}&versionId={3}&decrypt=false&type=3&refId={4};
        /// </summary>
        public const string DocumentDownloadForce =
            "/Paper/ViewPDF" + fmt +
            "&meetingId={0}&documentType={1}&paperId={2}&versionId={3}&decrypt=false&type=3&refId={4}";

        /// <summary>
        ///     /Service/AddMeetingComments
        /// </summary>
        public const string AddMeetingComment = "/Service/AddMeetingComments" + fmt;

        /// <summary>
        ///     /Service/AddPaperComments
        /// </summary>
        public const string AddPaperComments = "/Service/AddPaperComments" + fmt;

        /// <summary>
        ///     /Service/UpdateBoardMemberParticipation
        /// </summary>
        public const string UpdateBoardMemberParticipation = "/Service/UpdateBoardMemberParticipation" + fmt;

        /// <summary>
        ///     /Service/UpdateMeetingNote
        /// </summary>
        public const string UpdateMeetingNote = "/Service/UpdateMeetingNote" + fmt;

        /// <summary>
        ///     /Service/UpdateMeetingPresence
        /// </summary>
        public const string UpdateMeetingPresence = "/Service/UpdateMeetingPresence" + fmt;

        /// <summary>
        ///     /Service/UpdatePaperPresentStatus
        /// </summary>
        public const string UpdatePaperPresentStatus = "/Service/UpdatePaperPresentStatus" + fmt;

        /// <summary>
        ///     /Service/UpdateUserApprovals
        /// </summary>
        public const string UpdateUserApprovals = "/Service/UpdateUserApprovals" + fmt;

        /// <summary>
        ///     /Service/UpdateViewedComments
        /// </summary>
        public const string UpdateViewedComments = "/Service/UpdateViewedComments" + fmt;

        /// <summary>
        ///     /Service/UpdateViewedPaper
        /// </summary>
        public const string UpdateViewedPaper = "/Service/UpdateViewedPaper" + fmt;

        /// <summary>
        ///     /Item/ViewItem
        /// </summary>
        public const string NewsOrSharedItemDownload = "/Item/ViewItem" + fmt;

        /// <summary>
        ///     /Item/ViewItem?fmt=xml&itemId={0}&itemType={1}&decrypt=false&type=3&refId={2}
        /// </summary>
        public const string NewsOrSharedItemDownloadForce =
            "/Item/ViewItem" + fmt + "&itemId={0}&itemType={1}&decrypt=false&refId={2}";

        /// <summary>
        ///     /Service/UploadAnnotation
        /// </summary>
        public const string UploadAnnotation = "/Service/UploadAnnotation" + fmt;

        /// <summary>
        ///     /Service/DownloadAnnotation
        /// </summary>
        public const string DownloadAnnotation = "/Service/DownloadAnnotation" + fmt;

        /// <summary>
        ///     /Service/RestoreAnnotationData
        /// </summary>
        public const string RestoreAnnotationData = "/DownloadService/RestoreAnnotationData" + fmt;
    }
}